package com.woniuxy.service;

import com.woniuxy.entity.PaperClassEntity;
import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.entity.StudentsEntity;

public interface StudentsService {
    /**查询所有学生*/
    ResponseEntity findAll(int currentPage, int pageSize);
    /**根据id，删除试卷菜单中的指定类别*/
    ResponseEntity deleteById(int id);
    /**批量删除*/
    ResponseEntity batchDelete(StudentsEntity studentsEntity);
    /**添加学生信息*/
    ResponseEntity insertStudent(StudentsEntity studentsEntity);
    /**修改之前查询学生信息*/
    ResponseEntity updateBefore(StudentsEntity studentsEntity);
    /**修改学生信息*/
    ResponseEntity updateStudent(StudentsEntity studentsEntity);
    /**   按试卷分类名称搜索*/
    ResponseEntity searchStudent(StudentsEntity studentsEntity);
    /**根据学生id，查询考试记录表，获取记录*/
    ResponseEntity findErecord(int studentId);

//    /**查询页码*/
//    ResponseEntity findAll(int currentPage, int pageSize);
//    /**根据id，删除试卷菜单中的指定类别*/
//    public ResponseEntity deleteById(int id);
//    /**添加试卷类别之前，查找fid*/
//    ResponseEntity findFid();
//    /**添加试卷类别*/
//    ResponseEntity insertClass(PaperClassEntity paperClassEntity);
//    /**修改试卷类别*/
//    ResponseEntity updateClass(PaperClassEntity paperClassEntity);
//    /**批量删除*/
//    ResponseEntity batchDelete(PaperClassEntity paperClassEntity);
//    /**按试卷分类名称搜索*/
//    ResponseEntity searchClass(PaperClassEntity paperClassEntity);
//    /**查询总条数*/
//    ResponseEntity findTotalNumber();
//    /**在修改前需要把原本的内容查询出来，渲染到页面上*/
//    ResponseEntity updateBefore(PaperClassEntity paperClassEntity);

}
